package mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author mengshx
 * @since 2021-10-19
 */
public class WordList implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "topic_id", type = IdType.ASSIGN_ID)
    private String topicId;


    /**
     * word
     */
    private String word;
    private String accent;
    private String meanCn;
    private Integer wordLength;


    private Integer count=0;



    public String getTopicId() {
        return topicId;
    }

    public WordList setTopicId(String topicId) {
        this.topicId = topicId;
        return this;
    }

    public String getWord() {
        return word;
    }

    public WordList setWord(String word) {
        this.word = word;
        return this;
    }

    public String getAccent() {
        return accent;
    }

    public WordList setAccent(String accent) {
        this.accent = accent;
        return this;
    }

    public String getMeanCn() {
        return meanCn;
    }

    public WordList setMeanCn(String meanCn) {
        this.meanCn = meanCn;
        return this;
    }

    public Integer getWordLength() {
        return wordLength;
    }

    public WordList setWordLength(Integer wordLength) {
        this.wordLength = wordLength;
        return this;
    }

    public Integer getCount() {
        return count;
    }

    public WordList setCount(Integer count) {
        this.count = count;
        return this;
    }

    @Override
    public String toString() {
        return "WordList{" +
                "topicId='" + topicId + '\'' +
                ", word='" + word + '\'' +
                ", accent='" + accent + '\'' +
                ", meanCn='" + meanCn + '\'' +
                ", wordLength=" + wordLength +
                ", count=" + count +
                '}';
    }
}
